package com.upf1sh.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.upf1sh.bean.PersonnelPosition;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
@Mapper
public interface PersonnelPositionMapper extends BaseMapper<PersonnelPosition> {


    @Select("select * from personnelPosition order by id DESC limit #{pageStart},#{pageSize}")
    List<PersonnelPosition> selectPersonnelPositionList(Integer pageSize, Integer pageStart);
}
